<template>
  <div>
    <div class="tab">
      <el-radio-group v-model="orderType">
        <el-radio-button :label="1">常见问题管理</el-radio-button>
        <el-radio-button :label="2">订单投诉问题管理</el-radio-button>
      </el-radio-group>
    </div>
    <common v-if="orderType == 1"></common>
    <complaint v-if="orderType == 2"></complaint>
  </div>
</template>

<script>
import common from './component/common'
import complaint from './component/complaint'
export default {
  name: 'questionManage',
  components: {
    common,
    complaint
  },
  data() {
    return {
      orderType: 1
    }
  }
}
</script>

<style lang="scss" scoped>
.tab {
  text-align: center;
  margin-bottom: 20px;
}
</style>
